Expand the thread deprecation documentation
authorMatthias Clasen <mclasen@redhat.com>
Wed, 1 Aug 2012 08:26:17 +0000 (10:26 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 1 Aug 2012 08:26:17 +0000 (10:26 +0200)
The story is slightly different for applications vs libraries;
make it clear that libraries should continue using the lock so
we don't break applications that haven't been ported to the
'single thread' model yet.

gdk/gdk.c

index 752625e55ab13b77be71c3f02585edd8d7442a26..6c354b14cc10cb3755285c53856656ab70bab27d 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -661,7 +661,9 @@ gdk_init (int *argc, char ***argv)
  * it is recommended to use g_idle_add(), g_main_context_invoke()
  * and similar functions to make these calls from the main thread
  * instead. The main thread is the thread which has called gtk_init()
- * and is running the GTK+ mainloop.
+ * and is running the GTK+ mainloop. GTK+ itself will continue to
+ * use the GDK lock internally as long as the deprecated functionality
+ * is still available, and other libraries should probably do the same.
  */